export class HeroData {
  createDb() {
    let heroes = [
      { id: '1', name: 'Windstorm' },
      { id: '2', name: 'Bombasto' },
      { id: '3', name: 'Magneta' },
      { id: '4', name: 'Tornado' },
      { id: '5', name: 'Nigel' },
      { id: '6', name: 'Odin' }
    ];
    let heroes2 = [
      { id: '5', name: 'Nigel' },
      { id: '6', name: 'Odin' }
    ];
    return {heroes, heroes2};
  }
}


/*
Copyright 2016 Google Inc. All Rights Reserved.
Use of this source code is governed by an MIT-style license that
can be found in the LICENSE file at http://angular.io/license
*/